package org.dev.vlp.service;

import org.dev.vlp.entity.Statistics;
import com.baomidou.mybatisplus.extension.service.IService;
import org.dev.vlp.vo.DailyVo;

import java.text.ParseException;

/**
* @author 86184
* @description 针对表【vlp_statistics】的数据库操作Service
* @createDate 2023-01-15 17:42:26
*/
public interface StatisticsService extends IService<Statistics> {

    /**
     * 用于登录时在redis更新语种
     * @param userId
     * @return
     */
    int getLan(int userId);

    void setLan(int userId,int lanId);

    Statistics getBook(int userId);

    DailyVo getDailyData(int lan,int uid) throws ParseException;
}
